/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controladores;

/**
 *
 * @author Luis
 */
public class Wsdata {

    public RequestField request;
    public ResponseField response;
    
    public Wsdata(String status,Object responseData,String httpMethod,String recurso) {
        request = new RequestField(httpMethod, recurso, status);
        response = new ResponseField(responseData);
    }

    public Wsdata(String status,Object responseData,String httpMethod,String recurso,String message) {
        request = new RequestField(httpMethod, recurso, status, message);
        response = new ResponseField(responseData);
    }
    
    public Wsdata(String status,String httpMethod,String recurso) {
        request = new RequestField(httpMethod, recurso, status);
        response = new ResponseField();
    }

    public Wsdata(String status,String httpMethod,String recurso,String message) {
        request = new RequestField(httpMethod, recurso, status, message);
        response = new ResponseField();
    }
    
}
